package com.bean;

import java.util.List;

public class StudyListBean {


    /**
     * code : 1
     * msg : 成功
     * time : 1587978717
     * data : {"total":4,"per_page":10,"current_page":1,"last_page":1,"data":[{"id":1,"course_id":1,"name":"课程1--眼力练习之图形的记忆"},{"id":2,"course_id":1,"name":"课程2"},{"id":3,"course_id":1,"name":"课程3"},{"id":4,"course_id":1,"name":"课程4"}]}
     */

    private int code;
    private String msg;
    private String time;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 4
         * per_page : 10
         * current_page : 1
         * last_page : 1
         * data : [{"id":1,"course_id":1,"name":"课程1--眼力练习之图形的记忆"},{"id":2,"course_id":1,"name":"课程2"},{"id":3,"course_id":1,"name":"课程3"},{"id":4,"course_id":1,"name":"课程4"}]
         */

        private int total;
        private int per_page;
        private int current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 1
             * course_id : 1
             * name : 课程1--眼力练习之图形的记忆
             */

            private int id;
            private int course_id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getCourse_id() {
                return course_id;
            }

            public void setCourse_id(int course_id) {
                this.course_id = course_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}

